import { request } from "./request";

export function collect(id){
    return request({
        url:`/api/collects/goods/${id}`,
        method:'post'
    })
}
// 我的收藏
export function getCollect(){
   return request({
    url:'/api/collects',
    method:'get'
   })
}